package cn.itsource.pethome.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 部门实体类
 */
@Data//setter/getter/tostring
@AllArgsConstructor//全参构造
@NoArgsConstructor//无参构造
public class Department {
    //主键id
    private Long id;
    //部门编号
    private String sn;
    //部门名称
    private String name;
    //部门状态 0 禁用 1启动
    private Integer state;
    //部门经理
    private Employee manager;
    //父级部门
    private Department parent;

}
